I wondered how to create multiple instances of the pallet Treasury and couldn't find any examples so far. One example is pallet Membership, which doesn't have any dependencies, while the Treasury pallet has: Balances and Bounties. Looking into the compilation errors and trying different ways to do it, I assume that I should create one Balances instance and one Bounties instance per each Treasury, which is weird. Also, it seems Bounties pallet doesn't have the possibility of creating instances.
Is it possible to create multiple instances of Treasury pallet, and if yes, how to deal with dependencies? Examples?