@Override public WXDomObject clone(){
  if (sDestroy.get()) {
    return null;
  }
  WXDomObject dom=null;
  try {
    dom=new WXDomObject();
    copyFields(dom);
  }
 catch (  Exception e) {
    if (WXEnvironment.isApkDebugable()) {
      WXLogUtils.e("WXDomObject clone error: ",e);
    }
  }
  return dom;
}

@ Override public WXDomObject clone ( ) { if ( sDestroy . get ( ) ) { return null ; } WXDomObject dom = null ; try { dom = new WXDomObject ( ) ; copyFields ( dom ) ; } catch ( Exception e ) { if ( WXEnvironment . isApkDebugable ( ) ) { WXLogUtils . e ( "WXDomObject clone error: " , e ) ; } } return dom ; }
clone the current object . this is not a deep copy , only shadow copy of some reference .
