Create removeDuplicates