if (!(kpgSpi instanceof Cloneable)) throw new CloneNotSupportedException();
  public Object clone() throws CloneNotSupportedException  {    if (!(kpgSpi instanceof Cloneable))      throw new CloneNotSupportedException();    KeyPairGenerator result = new DummyKeyPairGenerator	    ((KeyPairGeneratorSpi) kpgSpi.clone(), this.getAlgorithm());    result.provider = this.getProvider();    return result;  }