Updating `utility.clone()` to decorate Function properties that'd be lost with JSON encoding/decoding