Generic array-like slice for TypedArrays, Buffers and Arguments