make a copy of item dependencies

so item.DEPENDS_STATIC isn't modified