You paste a list into a dedupe tool, it removes the duplicates — and one copy of each repeated line stays behind. Usually that is exactly what you want.