code: def copy(self):
          
          # new objects are constructed for each, so we just need to pass them in
          return BinaryQuadraticModel(self.linear, self.quadratic, self.offset, self.vartype, **self.info)
docs: Create a copy of a BinaryQuadraticModel.
  
          Returns:
              :class:`.BinaryQuadraticModel`
  
          Examples:
  
              >>> bqm = dimod.BinaryQuadraticModel({1: 1, 2: 2}, {(1, 2): 0.5}, 0.5, dimod.SPIN)
              >>> bqm2 = bqm.copy()