Fixes copy constructor identification in templates