code: def clone(self):
          # TODO: check docstring
          
  
          new_node = self.__class__(self._name, self._demand)
  
          return new_node
docs: Returns a deep copy of self
          
          Function clones:
          
          * allocation
          * nodes
          
          Returns
          -------
          type
              Deep copy of self