How to protect analog output (current protection) ?

There's no easy circuit that conditionally limits current like this,

Is there a complex one?