Remove duplicate lines from any text or list.
Remove duplicate lines from any list or text. Keeps the first occurrence of each unique line.