Remove spatial duplicates