Remove duplicates

Remove exact duplicate lines while preserving the first occurrence and original order.

Example with prefilled values

Text
apple pear apple

Result: apple pear