Remove repeated lines while keeping the first occurrence.
Each line is compared as written. The first copy is kept and later identical copies are removed.