'Creates a copy of this URL, but with all the variables set/reset
(like .setvar(), except clears past variables at the same time)'

def setvars(self, **kw):

    return self.__class__(self.url, vars=kw.items(), attrs=self.attrs, params=self.original_params)
