In React, cloneElement is primarily used to clone an element and pass it to new props directly. Whereas, createElement is the entity that JSX gets compiled into. This is also used to create elements in React.
Next up on this top React interview questions and answers blog, take a look at the use of the second argument.