(a) A court may include in its final order or judgment in any civil action a finding that the action was frivolous.
(b) A finding under subsection (a) of this section shall be reflected in the docket entries of the case.
(c) (1) A prisoner who has filed three or more civil actions that have been declared to be frivolous by a court of this State or a federal court for a case originating in this State may not file any further civil actions without leave of court.
(2) If a prisoner has filed three or more civil actions that have been declared to be frivolous by a court of this State or a federal court for a case originating in this State, a court may place the prisoner’s remaining and future civil actions on an inactive case list and permit the prisoner to pursue only one civil action at a time, regardless of jurisdiction.