CLN: use np.array(arr,copy=False) where possible