The masked op can currently not bufferize out-of-place. Such IR would be rejected by the One-Shot Bufferize because it would mean that a new buffer allocation is yielded from a block. Furthermore, only one operation is currently allowed inside vector.mask.
Depends On: D141685
You should be able to cast here as this terminator is enforced by the op verifier.