write out references from UniqueKeyClearer to workaround g++ 4.6 needing vector elements to be Assignable