code: def test_cloud_compute_clone():
      c1 = CloudCompute("gpu")
      c2 = c1.clone()
  
      assert isinstance(c2, CloudCompute)
  
      c1_dict = c1.to_dict()
      c2_dict = c2.to_dict()
  
      assert len(c1_dict) == len(c2_dict)
  
      for k in c1_dict:
          if k == "_internal_id":
              assert c1_dict[k] != c2_dict[k]
          else:
              assert c1_dict[k] == c2_dict[k]
  
file_path: pytorch-lightning/tests/tests_app/utilities/packaging/test_cloud_compute.py
imports: import pytest
  from lightning.app import CloudCompute
  from lightning.app.storage import Mount
label_desc: Use image node_id 5 for calling a global function with example usage: test_cloud_compute_clone() without return types