SliceArray: fix constructor

Remaining bug of the new api transition.