If the court finds an unnecessary number of actions have been brought, where the parties are identical, it may allow the costs of one action only.
(Added by Stats. 1941, Ch. 79.)