Adding a readonly option on attach
Do you plan to add a readonly option on the `attach` operation? This is useful under a cluster environment, where one can create a SharedArray and share it with other users safely. Meanwhile (at least in my opition) it is not hard to implement technically.
issue