COMPLEJIDAD CLONAR

                                                                                //O(n)
    public ColaP<T> clonar(){                                                   //T=2+3+2+2+3+E(3+3+2)+1 = 13+8n = n
        ColaP<T> clon = new ColaP();                                            //2
        NodoP<T> c = ((NodoP<T>)super.getInicio());                             //3
        NodoP<T> x = c;                                                         //2
        x = x.getSig();                                                         //2
        while(x!=((NodoP<T>)super.getInicio())){                                //3+E(3)
            clon.enColar(x.getInfo(), x.getPrioridad());                //3
            x = x.getSig();                                                     //2
        }
        return (clon);                                                          //1
    }
T=13+8n

T=n

O(n)