add new CLI logic to create --clone option