code: def copy(self):
          
          collectedCopy = copy.copy(self)
          collectedCopy._collection = copy.copy(collectedCopy._collection)
          self._collectedTypes = copy.copy(self._collectedTypes)
          self._allowedTypes = copy.copy(self._allowedTypes)
          collectedCopy.errors = copy.copy(collectedCopy.errors)
          return collectedCopy
docs: Creates a shallow copy of the collection
  
          # Returns
  
          `Collection`
  
          > A copy of the `Collection`