Added a test for safe_clone on a lambda.