So far, I've managed to prepend a new element to the profile array. My goal is to add a new department and clone existing details from recent profile e.g job title. I can't figure out how to clone it, I tried So far, I've managed to prepend a new element t