<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def distinct(self):
 """ Only return distinct row. Return a new query set with distinct mark """

        new_query_set = self.clone()
        new_query_set.query.distinct = True
        return new_query_set