Deduplicate lines. Remove duplicate lines from text while preserving first-seen order; optional case-insensitive and trim modes.