class CheckSpec implements JsonObjectConvertible {

    public static CheckSpec copyOf(final @NotNull CheckSpec original) {
        final CheckSpec copy = new CheckSpec();
        copy.setName(original.getName());
        copy.setImpl(original.getImpl());
        copy.setTemplate(original.getTemplate());
        copy.setSkip(original.isSkip());
        copy.setInlineScript(original.getInlineScript());
        copy.setInlineEngine(original.getInlineEngine());
        copy.setConfig(original.getConfig());
        return copy;
    }

}