There are too many topics in statistics and econometrics. I haven't looked at things related to this in more than 1.5 years, and I don't remember the econometrics for this case, or never looked it up specifically.
IV2SLS assumes we have two linear models, estimated essentially by OLS in two stages with the corrected standard errors.
(Just a thought right now: It could be that we could reuse this for local approximation similar to iteratively reweighted least squares if we had weights, but IV2SLS doesn't have them.)
The choices are either to calculate the corrected 2-stage standard errors explicitly, e.g. Murphy and Topel in Greene book, or to use the equivalent or corresponding general GMM problem.
Using GMM for this type of problems is what I would like to support and we or I have several open issues for it. However, nothing is available out of the box and verified/unit-tested.
example:
https://github.com/statsmodels/statsmodels/pull/2455/files#diff-1b3411f7d5ad604e44f690f8d7790fe0R169To get the correct standard errors for treatment effect estimation with missing at random (no hidden heterogeneity conditional on observed variables) Stata and I use GMM.