public JavaEEResource makeClone(ResourceInfo resourceInfo) {
JavaEEResource clone = doClone(resourceInfo);
Set entrySet = properties_.entrySet();
for (Iterator iter = entrySet.iterator(); iter.hasNext();) {
Map.Entry next = (Map.Entry) iter.next();
ResourceProperty nextProp = (ResourceProperty) next.getValue();
ResourceProperty propClone =
new ResourcePropertyImpl((String) next.getKey());
propClone.setValue(next.getValue());
clone.addProperty(propClone);
}
// START OF IASRI #4626188
clone.setEnabled(isEnabled());