Unable to serialize SharedArrays

See Big overhead with the new lazy reshape/reinterpret - #32 by pablosanjose