Remove duplicates before clusterization.