copy objects before they're assigned to a namespace, this pevents the original objects from being modified