Paste text and remove duplicate lines with case-sensitive and trim options
Duplicate lines are removed; the first occurrence is kept.