00001 var LazyWrapper = require('./_LazyWrapper'), 00002 copyArray = require('./_copyArray'); 00003 00012 function lazyClone() { 00013 var result = new LazyWrapper(this.__wrapped__); 00014 result.__actions__ = copyArray(this.__actions__); 00015 result.__dir__ = this.__dir__; 00016 result.__filtered__ = this.__filtered__; 00017 result.__iteratees__ = copyArray(this.__iteratees__); 00018 result.__takeCount__ = this.__takeCount__; 00019 result.__views__ = copyArray(this.__views__); 00020 return result; 00021 } 00022 00023 module.exports = lazyClone;