code: def clone(self, parent=None):
          
          a = Attribute(self.qname(), self.value)
          a.parent = parent
          return a
docs: Clone this object.
          @param parent: The parent for the clone.
          @type parent: L{element.Element}
          @return: A copy of this object assigned to the new parent.
          @rtype: L{Attribute}