There is no easy way to do this (at least not that I know of. What you could try would be to
1. Create a new (custom) cluster
2. Reconnect rancher-system-agent with the rancher server on each of the nodes (beginning with the master node) (use a curl to connect to https://<rancher server>/v3/connect/agent specifying X-Cattle-Id, X-Cattle-Role-Etcd, X-Cattle-Control-Plane, X-Cattle-Role-Worker and such parameters in the header and a bearer token to authorize with.