IntStack () { try { IntStack v = (IntStack)super.clone(); v.data = data.clone(); return v; } catch (CloneNotSupportedException e) { // this shouldn't happen, since we are Cloneable throw new InternalError(); } }