createElement is used by react to create react elements.
cloneElement is used to clone an element and pass it new props.