do not use UNIQUE_PTR_MOVE on temporary objects (clang compatibility)