Or pry the door frame apart and tap it back in place after rolling the rack out.
Worth a mention as many door frames are easier to remove than a number of people might suspect .. fewer pieces to disassemble than many {object}'s and not an uncommon hack when moving furniture.
when i moved to this apartment, the wooden wardrobe i had in previous one (built on the spot) could eventually move through that door and corners but absolutely could not move through this doors/corridors/corners (or staircase). So.. i got a power-jigsaw and cut it into upper and lower halves. Those moved easily. Then "assembled" them halves with lots of metal planks and screws on the new spot. Tadaa...