Make a copy of the dependencies list

Make a copy of the dependencies list so that, if the natural_key method is defined on a super class, we don't end up modifying the dependencies for all classes that inherit it.