<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_qs(cls, qs, **kwargs):
 """ Creates a new queryset using class `cls` using `qs'` data. :param qs: The query set to clone :keyword kwargs: The kwargs to pass to _clone method """

        assert issubclass(cls, QuerySet), "%s is not a QuerySet subclass" % cls
        assert isinstance(qs, QuerySet), "qs has to be an instance of queryset"
        return qs._clone(klass=cls, **kwargs)