code: def copy(self, **replacements):
      
      cls = type(self)
      kwargs = {'org': self.org, 'name': self.name, 'ext': self.ext, 'classifier': self.classifier, 'rev': self.rev}
      for key, val in replacements.items():
        kwargs[key] = val
      return cls(**kwargs)
docs: Returns a clone of this M2Coordinate with the given replacements kwargs overlaid.