Allow deduplication of actions in run and finalize phases

what about `deduplicate!`