I think the cascode current mirror is used to control the CM level in the circuit below.
(The part where the bias enters is not shown)
If this is correct, I wonder what the small signal gain equation for this circuit is.
(Especially the current mirror's small signal gain calculation formula)