<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _filter_attributes(self, keyset):
 """ Return a copy of this object with a subset of its attributes set. """

        filtered = self._filter_keys(self.to_dict(), keyset)
        return Language.make(**filtered)