A seal kit to rebuild a leaky hydraulic cylinder is always cheaper than the cost of a new cylinder. But there are times when it is more economical (not necessarily cheaper) to install a new cylinder.
Many experienced off-roaders won't think twice about tearing down an axle to fix a broken axleshaft or even pulling down their rig's engine to change a worn-out timing chain or swap in a hottercam.