clean-up doctrine

noun
  1. : a doctrine of jurisdiction that allows a court of chancery which has acquired jurisdiction in a case to decide both equitable and legal questions provided that the legal questions are incidental to the equitable ones