clone clean up

This commit is contained in:
Jarda Kotesovec 2016-02-17 10:25:00 +01:00
parent a21760b374
commit 32fcb771ca

View File

@ -884,7 +884,6 @@ Sharp.prototype.clone = function() {
// Clone existing options
var clone = new Sharp();
util._extend(clone.options, this.options);
clone.streamIn = false;
// Pass 'finish' event to clone for Stream-based input
this.on('finish', function() {
// Clone inherits input data