Add some helper functions/constructors to ArraySlice am: d6fa4f24ea
am: 85e8837a52

Change-Id: I3772dd74f13c2f384088ec4c5b6c284cf7fdc34e