When an action pending in a District or Superior Court or in the Supreme Court involves the trial of several and distinct issues or of several and distinct claims, in taxing the costs, the court shall allow to each party the costs accruing upon the issues or claims upon which he or she prevails.
12 V.S.A. § 2142