Add methods to wrap any primitive array in a slice