code: public static Field cloneField(Field field) {
      return new Field(field.name(), field.schema(), field.doc(),
          field.defaultValue());
    }
docs: Given an avro Schema.Field instance, make a clone of it.
  
  @param field
  The field to clone.
  @return The cloned field.