permute duplicates