kinship2_duporder function

Find all duplicated IDs on a level, and return