conda create environment path code example
Example 1: anaconda duplicate environment
conda create --name myclone --clone myenv
Example 2: conda activate env
conda activate myenv
conda create --name myclone --clone myenv
conda activate myenv