T[] to Slice<T> in native calls