Remove Duplicate Lines

Remove duplicate lines while preserving the first occurrence.

The first occurrence is preserved.