The string of characters that follow.
Looking at the string may give you an idea of how similar the entries (within the same species) are.
For example, these 2 Rattata are clones of each other, the only difference being one has a third move Bite.
As you can see, most of the trailing digits are the same.
This method may be laborious, but it's the only one I can think of right now.
Additionally:
Also, if the exact copies already exist in the folder you're trying to dump to, PKHeX wouldn't export them.
This would help to reduce the amount you need to check, as PKHeX don't export out exact copies/duplicates when they already exist.
edit: When I say dump boxes, I'm referring to this function in PKHeX:
Also, remember when you're doing the "string comparisons", the files have to belong to the same generation.
(compare PK5 to PK5, compare PK7 to PK7 etc)