def clone_cpu(tensor):
    """
    Clones a tensor, followed by to CPU transfer.

    If the input tensor is bounded to GPU, no extra copy is made.

    Parameters
    ----------
    tensor : torch.Tensor
        An input tensor.

    Returns
    -------
    torch.Tensor
        A CPU-bounded tensor copy.

    """
    tensor_clone = tensor.cpu()
    if tensor_clone is tensor:
        tensor_clone = tensor_clone.clone()
    return tensor_clone