vec_drain_as_slice

The tracking issue for this feature is: #58957