Deep copy dependency lists