Support for spread and skip in array patterns