this.map.clear();
for (Integer mods : other.map.keySet()) {
Tool srcTool = other.map.get(mods);
Tool dstTool = file.findTool(srcTool);
if (dstTool != null) {
dstTool = dstTool.cloneTool();
AttributeSets.copy(srcTool.getAttributeSet(),
dstTool.getAttributeSet());
this.map.put(mods, dstTool);
}
}