// If it did have, then drop it on the new one, so isn't cached by two objects.
if (origDOM == null) {
origKeyInfo.releaseChildrenDOM(true);
origKeyInfo.releaseDOM();
} else {
newKeyInfo.releaseChildrenDOM(true);
newKeyInfo.releaseDOM();
}
return newKeyInfo;
}