New version for AssociativeArray*, having a clear() member.