Off the rack
The use of rack in this sense comes from the 14th century use of the word meaning a framework. The same sense of the word is used when clothing is taken ‘off the rack’ or framework, but this usage is much more modern from the 1950s,