Addition of a cascode transistor to the simple current mirror increases the output impedance (immunity to output voltage variation) because the collector voltages of the lower pair are fixed.
The cascode transistor doesn't need to be matched - but it helps.