@Override
    public BoundingVolume clone(BoundingVolume store) {
        if (store != null && store.getType() == Type.AABB) {
            BoundingBox rVal = (BoundingBox) store;
            rVal.center.set(center);
            rVal.xExtent = xExtent;
            rVal.yExtent = yExtent;
            rVal.zExtent = zExtent;
            rVal.checkPlane = checkPlane;
            return rVal;
        }

        BoundingBox rVal = new BoundingBox(center.clone(),
                xExtent, yExtent, zExtent);
        return rVal;
    }
<code>clone</code> creates a new BoundingBox object containing the same
data as this one.

@param store
           where to store the cloned information. if null or wrong class,
           a new store is created.
@return the new BoundingBox
jme3-core/src/main/java/com/jme3/bounding/BoundingBox.java