Added Shared.clear for Monoid