def METHOD_NAME(test_case):
    x = flow.ones(
        (0,), placement=flow.placement("cuda", ranks=[0]), sbp=flow.sbp.broadcast
    )
    cloned = x.to(copy=True)
    test_case.assertEqual(x.placement, cloned.placement)
    test_case.assertEqual(x.sbp, cloned.sbp)
    cloned_local = cloned.to_local()
    test_case.assertEqual(tuple(cloned.shape), (0,))
    test_case.assertEqual(tuple(cloned_local.shape), (0,))