@@ -78,5 +78,7 @@ proto.shallowClone = function shallowClone( /* */ ){
for (var i = 0; i < this.numChildren(); i++) {
e.add(this.getChild(i).shallowClone());
}
+
+ return e; // Return the shallow copy.
};