How do you want to use the copy? If you need to make it a new leaf then you can do Variable(other.data.clone()), otherwise you might just call .clone() on the Variable (but remember that this will keep reference to all the history!)