internal virtual JSValue CloneImpl(bool force, JSValueAttributesInternal resetMask) { if (!force && (_attributes & JSValueAttributesInternal.Cloned) != 0) { _attributes &= ~(JSValueAttributesInternal.Cloned | resetMask); return(this); } var res = new JSValue(); res.Assign(this); res._attributes = this._attributes & ~resetMask; return(res); }
internal virtual JSValue CloneImpl(JSValueAttributesInternal resetMask) { return(CloneImpl(true, resetMask)); }