Delete repeating elements