code: func (d *dupper) DupAttribute(att *AttributeDefinition) *AttributeDefinition {
  	var valDup *dslengine.ValidationDefinition
  	if att.Validation != nil {
  		valDup = att.Validation.Dup()
  	}
  	dup := AttributeDefinition{
  		Type:              att.Type,
  		Description:       att.Description,
  		Validation:        valDup,
  		Metadata:          att.Metadata,
  		DefaultValue:      att.DefaultValue,
  		NonZeroAttributes: att.NonZeroAttributes,
  		View:              att.View,
  		DSLFunc:           att.DSLFunc,
  		Example:           att.Example,
  	}
  	return &dup
  }
docs: // DupAttribute creates a copy of the given attribute.