Remove Duplicate Lines

Deduplicate lists while preserving the original line order.