@Override
    public Array<T> clone() {
        Array<T> array = (Array<T>) super.clone();
        array.values = new ArrayList<>(values.size());
        for (T fval : values) {
            array.values.add((T) fval.clone());
        }
        return array;
    }
FieldValue which encapsulates an Array value

@author Einar M R Rosenvinge
document/src/main/java/com/yahoo/document/datatypes/Array.java