You can clone with
HTTPS or Subversion.
then other CTCorefolders with same imap session will be disconnected. Can I set the mailfolder->fld_share_session = 1 ?
If you are trying to access two folders at the same time then I highly recommend using multiple connections (by creating multiple CTCoreAccount's).
Each connection can only be active in one folder at a time.