opendap/src/main/java/opendap/dap/Alias.java
public DAPNode cloneDAG(CloneMap map)
        throws CloneNotSupportedException
    {
        Alias a = (Alias) super.cloneDAG(map);
        a.aliasedToAttributeNamed = this.aliasedToAttributeNamed;
        a.targetAttribute = (Attribute)cloneDAG(map,this.targetAttribute);
        a.targetVariable = (BaseType)cloneDAG(map,this.targetVariable);
        return a;
    }
public DAPNode cloneDAG(CloneMap map)
        throws CloneNotSupportedException
    {
        Alias a = (Alias) super.cloneDAG(map);
        a.aliasedToAttributeNamed = this.aliasedToAttributeNamed;
        a.targetAttribute = (Attribute)cloneDAG(map,this.targetAttribute);
        a.targetVariable = (BaseType)cloneDAG(map,this.targetVariable);
        return a;
    }
Returns a clone of this <code>Alias</code>.
See DAPNode.cloneDag()

@param map track previously cloned nodes
@return a clone of this <code>Alias</code>.