diff --git a/benedict/core/clone.py b/benedict/core/clone.py index 04df72a..3e9a69f 100644 --- a/benedict/core/clone.py +++ b/benedict/core/clone.py @@ -3,8 +3,8 @@ import copy -def clone(obj, empty=False): - d = copy.deepcopy(obj) +def clone(obj, empty=False, memo=None): + d = copy.deepcopy(obj, memo) if empty: d.clear() return d