Petit cabs in Casablanca work this way, shared fee. I was only there for a few days so I couldn't make out how the metered fare was split fairly and didn't speak Arabic or French, so I usually just held out my hand full of coins and let the driver take what he wanted :^)