If, in the progress of any proceeding in equity, the court perceives the necessity for parties to interplead, it may order such interpleader as collateral and ancillary to the main case.