split Array#cumulative example