This method will create an new box with that is identical to the requested box. By
using the deepClone parameter it is also possible to get a copy of the entire tree
of child boxes under the box. Note: Adding a cloned box to a different scene than
the source box can be risky as the box may be using resources not in the target
scene.
function CopyAndInstall(box)
{
if (box)
{
var newBox = box.clone(true);
var parBox = scene.getBoxById("containerBx");
if (newBox && parBox)
{
parBox.addChild(newBox);
}
}
}