PERF: Allow compiler to choose best way to construct a copy
PERF: Allow compiler to choose best way to construct a copy

With move semantics added to the language and the standard library updated with
move constructors added for many types it is now interesting to take an
argument directly by value, instead of by const-reference, and then copy. This
check allows the compiler to take care of choosing the best way to construct
the copy.

The transformation is usually beneficial when the calling code passes an rvalue
and assumes the move construction is a cheap operation. This short example
illustrates how the construction of the value happens:

SRCDIR= #My local SRC
BLDDIR= #My local BLD

cd
run-clang-tidy.py -extra-arg=-D__clang__ -checks=-*,modernize-pass-by-value  -header-filter=.* -fix

vfonov/ITK,malaterre/ITK,BRAINSia/ITK,malaterre/ITK,thewtex/ITK,vfonov/ITK,thewtex/ITK,InsightSoftwareConsortium/ITK,richardbeare/ITK,Kitware/ITK,vfonov/ITK,InsightSoftwareConsortium/ITK,Kitware/ITK,vfonov/ITK,Kitware/ITK,richardbeare/ITK,Kitware/ITK,hjmjohnson/ITK,richardbeare/ITK,richardbeare/ITK,richardbeare/ITK,malaterre/ITK,malaterre/ITK,hjmjohnson/ITK,vfonov/ITK,richardbeare/ITK,hjmjohnson/ITK,malaterre/ITK,LucasGandel/ITK,InsightSoftwareConsortium/ITK,thewtex/ITK,malaterre/ITK,malaterre/ITK,LucasGandel/ITK,Kitware/ITK,BRAINSia/ITK,malaterre/ITK,vfonov/ITK,LucasGandel/ITK,LucasGandel/ITK,BRAINSia/ITK,LucasGandel/ITK,InsightSoftwareConsortium/ITK,BRAINSia/ITK,InsightSoftwareConsortium/ITK,thewtex/ITK,richardbeare/ITK,vfonov/ITK,BRAINSia/ITK,BRAINSia/ITK,hjmjohnson/ITK,thewtex/ITK,Kitware/ITK,hjmjohnson/ITK,thewtex/ITK,Kitware/ITK,InsightSoftwareConsortium/ITK,malaterre/ITK,hjmjohnson/ITK,LucasGandel/ITK,InsightSoftwareConsortium/ITK,vfonov/ITK,hjmjohnson/ITK,LucasGandel/ITK,LucasGandel/ITK,vfonov/ITK,BRAINSia/ITK,thewtex/ITK