// public methods
        /// <summary>
        /// Creates a clone of the settings.
        /// </summary>
        /// <returns>A clone of the settings.</returns>
        public MongoGridFSSettings Clone()
        {
            var clone = new MongoGridFSSettings();

            clone._chunksCollectionName = _chunksCollectionName;
            clone._chunkSize            = _chunkSize;
            clone._filesCollectionName  = _filesCollectionName;
            clone._root         = _root;
            clone._updateMD5    = _updateMD5;
            clone._verifyMD5    = _verifyMD5;
            clone._writeConcern = _writeConcern.Clone();
            return(clone);
        }