I am trying to unpack the columns of a matrix S into the ForwardDiff.Dual{T} constructor. I have tried numerous different approaches without success.

Specifically, I want a function that does the following:

```
function gAD(nlp, x, S)
dual = Dual{DualTag}.(x, S[:, i]...) # for the i \in 1:size(S,2)
return nlp.g!(dual, x)
end
```

I can get it working when I explicitly declare the columns, as shown with two columns below

```
function gAD(nlp, x, S)
dual = Dual{DualTag}.(x, S[1, :], S[2,:] )
return nlp.g!(dual, x)
end
```

Thank you in advance for your insight into the problem I am facing!