code: def clone(self):
          
          t = Tag(self.version.major, self.version.minor, self.version.patch)
          if self.revision is not None:
              t.revision = self.revision.clone()
          return t
docs: Returns a copy of this object