<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pop(self, key):
 """Get and remove an element by key name"""

        arr = dict.pop(self, key).copy()
        self.remover(key)
        return arr