A spacer assembly for restricting actuation of a hydraulic cylinder. The spacer assembly comprises a support bracket configured to be secured to the hydraulic cylinder. The spacer assembly additionally comprises a plurality of shims supported by the support bracket, whereby each of the shims is configured to be shifted between an unengaged position and an engaged position. When the shims are in the engaged position the shims are configured to restrict actuation of the hydraulic cylinder. The spacer assembly further comprises a shifting assembly configured to permit a group of at least two shims to be simultaneously shifted between the unengaged position and the engaged position.