Remove deepcopy from primo-to-dpla module