enable cloning
[org.ibex.core.git] / src / org / xwt / js / JS.java
index c82435b..e0451c9 100644 (file)
@@ -25,7 +25,7 @@ public class JS extends org.xwt.util.BalancedTree {
     public static class Cloneable extends JS {
         public Cloneable() { }
         public Object jsclone() throws JSExn {
-            throw new JSExn("cloning not yet implemented");
+            return new Clone(this);
         }
     }