This doesn't seem right. May be weird, but I think the subclass of the data is conserved, so this needs to check explicitely for non-masked arrays. Also, it needs a `.ravel()`. And I am wondering if compressed should say somewhere in the docs that it is not necessary a copy.