Remove Duplicates

Remove duplicate lines from text while preserving the first occurrence