What does op_return do? Looked it up in mastering bitcoin: 0x6a halt and invalidate transaction. Must be more to it if it is what allows Memo etc.
Any data after the op code is ignored but is still part of the transaction. This page has some more info:
https://memo.cash/protocol