A Array.
A DataType of the returned view.
A zero-copy view of this array with the given type. This method checks if the `return_type` are layout-compatible.