Remove duplicate lines from text with options to ignore case, trim whitespace, sort, and keep only unique lines.