Add IsolatedRef.opCast to allow safe conversions with move semantics and use in boolean expressions.