Assuming that the enclosure is ferrous, the code requires slots. Also the connectors and locknuts need to be non-ferrous. That is the code answer, but unless the current on each conductor exceeds 200 - 300 amps, it is unlikely to be a real world issue. If you don't want to cut slots, you can cut an opening in the top, and install a non-ferrous plate that all of the connectors enter.