* @param[in] functor The functor object to copy, either a class with operator() or a C function
* @return A pointer to the new function object
*/
* @param[in] functor The functor object to copy, either a class with operator() or a C function
* @return A pointer to the new function object
*/