cache = (HashMap) p.cache.clone();
cache.clear();
    public void useSysexFromPatch(IPatch _p) {        if (!(_p instanceof XMLPatch)) {            throw new IllegalArgumentException();        }        XMLPatch p = (XMLPatch)_p;        sysex = p.sysex;        cache = (HashMap) p.cache.clone();        name = p.name;    }