@Override
    public FieldSet clone() throws CloneNotSupportedException {
        return (Field)super.clone();
    }
Two fields are equal if they have the same name and the same data type
document/src/main/java/com/yahoo/document/Field.java