public Coord clone(){
  Coord clone=null;
  try {
    clone=(Coord)super.clone();
  }
 catch (  CloneNotSupportedException e) {
    e.printStackTrace();
    System.exit(-1);
  }
  return clone;
}

public Coord clone ( ) { Coord clone = null ; try { clone = ( Coord ) super . clone ( ) ; } catch ( CloneNotSupportedException e ) { e . printStackTrace ( ) ; System . exit ( - 1 ) ; } return clone ; }
returns a clone of this coordinate
