Crash in Accessing Arguments of Cloned Function with LazyArgs

I Cloned llvm::Function using CloneFunction from Transforms.
While accessing new arguments of function i keep getting crash for

#5 llvm::Value::getSubclassDataFromValue() const llvm/include/llvm/IR/Value.h:659:60
#6 llvm::Function::hasLazyArguments() const llvm/include/llvm/IR/Function.h:111:36
#7 llvm::Function::CheckLazyArguments() const llvm/include/llvm/IR/Function.h:116:5
#8 llvm::Function::arg_begin() llvm/include/llvm/IR/Function.h:656:12

While debugging it appears to be Value Class that produced error. I could not make sense out of this build logic.
Can you help?