The plaintiff in any case pending in the district court or Supreme Court of the state, when no counterclaim or setoff has been filed by the opposite party, has the right in the vacation of any of such courts to dismiss such action without prejudice, upon payment of costs, which dismissal shall be, by the clerk of any of such courts, entered upon the record and take effect from and after the date thereof.
Neb. Rev. Stat. §§ 25-602