Refactored the create post action for reusability
Rename the copy role to clone and made the clone similar to create action
Added the ability to clone a switch