[CLONER] Fix issues with FunctionDec