Added savePixels option, in addition to clearPixels function
Default save pixels to false