RFC: Improved implementation of SubArray 

Based on the discussion in #3496