Made the ndarray_storage noncopyable and hold a shared_ptr for the bin content storage.