opendap/src/main/java/opendap/dap/DVector.java
public DAPNode cloneDAG(CloneMap map)
        throws CloneNotSupportedException
    {
        DVector v = (DVector) super.cloneDAG(map);
        v.vals = (PrimitiveVector) cloneDAG(map,vals);
        // clone the container variable
        v.containedvar = (BaseType) cloneDAG(map,containedvar);
        return v;
    }
public DAPNode cloneDAG(CloneMap map)
        throws CloneNotSupportedException
    {
        DVector v = (DVector) super.cloneDAG(map);
        v.vals = (PrimitiveVector) cloneDAG(map,vals);
        // clone the container variable
        v.containedvar = (BaseType) cloneDAG(map,containedvar);
        return v;
    }
Returns a clone of this <code>Vector</code>.
See DAPNode.cloneDag()

@param map track previously cloned nodes
@return a clone of this object.