Wrap arrays into a ViewArray object