code: func (v *ValidationDefinition) Dup() *ValidationDefinition {
  	return &ValidationDefinition{
  		Values:    v.Values,
  		Format:    v.Format,
  		Pattern:   v.Pattern,
  		Minimum:   v.Minimum,
  		Maximum:   v.Maximum,
  		MinLength: v.MinLength,
  		MaxLength: v.MaxLength,
  		Required:  v.Required,
  	}
  }
docs: // Dup makes a shallow dup of the validation.