<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clean(self):
 """Global cleanup."""

        super(LineFormSet, self).clean()

        if any(self.errors):
            # Already seen errors, let's skip.
            return

        self.clean_unique_fields()