multi_index: fix copy constructor, clear on empty