code: func (as *AttributeSource) Clear() {
  	for state := as.currentState(); state != nil; state = state.next {
  		state.attribute.Clear()
  	}
  }
docs: /*
  Resets all Attributes in this AttributeSource by calling
  AttributeImpl.clear() on each Attribute implementation.
  */