clone collection in mongoDB in the same db I want ti copy my collection including is indexes without the data.
how can I do it in the most efficient way?
I am using a replica set  version 4.0.3
Another way would be to use the copyTo() function.

NOTE: That will only work for MongoDB 4.0 and earlier.
Starting 4.2 it'll be deprecated. The dump/restore way is the proper way.