in src/lic/ppl/world/variable.py [0:0]
def copy(self):
"""
Makes a copy of self and returns it.
:returns: copy of self.
"""
return Variable(
self.distribution,
self.value,
self.parent.copy(),
self.children.copy(),
self.log_prob,
self.proposal_distribution,
self.is_discrete,
self.transforms,
self.transformed_value,
self.jacobian,
)