Add a general `view` method for DistArrays