How does the 'Remove Duplicates' feature work?
Your text is split into lines and passed through a JavaScript Set, which keeps the first copy of each line and discards every later repeat, preserving the original order. Matching is exact — 'Apple' and 'apple' are different lines and both survive, as do two lines differing only by a trailing space. Built for cleaning pasted lists, exported columns and log extracts.