It is an affirmative defense to a prosecution in which an actor's criminal responsibility arises from his own conduct or from being a party to an offense under Section 76-2-202 that prior to the commission of the offense, the actor voluntarily terminated his effort to promote or facilitate its commission and either:
Utah Code § 76-2-307