delete double copies