How to create an image from a cluster so that the compute environment can be replicated

NW1000
New Contributor III

I am working in a regulated industry. It is necessary to document and replicate the compute environment. I guess to do this for a classic cluster vs a serverless one is different. Anyone knows how to do it? Thank you for your assistance.