implements Cloneable
Cloneable是接口,clone()要你自己写,拟利用super.clone(),可你的父类是Object。
所以你的clone()应改为:
public Object clone() {
    Object o = null;
    try {
      o = new MyObject();
      o.i = this.i; 
    } catch(CloneNotSupportedException e) {
      System.err.println("MyObject can't clone");
    }
    return o;
  }