1 var LazyWrapper = require('./_LazyWrapper'),
2 copyArray = require('./_copyArray');
5 * Creates a clone of the lazy wrapper object.
9 * @memberOf LazyWrapper
10 * @returns {Object} Returns the cloned `LazyWrapper` object.
12 function lazyClone() {
13 var result = new LazyWrapper(this.__wrapped__);
14 result.__actions__ = copyArray(this.__actions__);
15 result.__dir__ = this.__dir__;
16 result.__filtered__ = this.__filtered__;
17 result.__iteratees__ = copyArray(this.__iteratees__);
18 result.__takeCount__ = this.__takeCount__;
19 result.__views__ = copyArray(this.__views__);
23 module.exports = lazyClone;