Fix some clang warnings about explicit copy constructor call