<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _deduplicate(lst):
 """Auxiliary function to deduplicate lst."""

    out = []
    for i in lst:
        if i not in out:
            out.append(i)
    return out