this macro helps to create a new cloned entity with its details of selected component by user input elements.