[pacman-dev] [PATCH] Add helper function for duplicating depends lists