cloning class loader for deployments