@Override
  public IntStack clone() {
    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();
    }
  }
@Override
  public IntStack clone()