[389-commits] [389-ds-base] 10/283: cannot modify passed in args - make a deepcopy to avoid side effects