public void setQueryLock(LockWrapper lockWrapper) {
        this.lockWrapper = lockWrapper;
    }
Clones a given complex event.

@param complexEvent Complex event to be cloned
@return Cloned complex event
modules/siddhi-core/src/main/java/io/siddhi/core/query/output/ratelimit/snapshot/SnapshotOutputRateLimiter.java