Remove unused function: clone_original_variable_value