import java.util.*;        class A implements Cloneable {        public HashMap map;        public A() {            map = new HashMap();            map.put("key1", "value1");            map.put("key2", "value2");        }        public Object clone() {            try {                return super.clone();            }            catch (CloneNotSupportedException e) {                throw new InternalError(e.toString());            }        }    }