001package io.konik.util; 002 003import org.apache.commons.lang3.SerializationUtils; 004 005import io.konik.zugferd.Invoice; 006 007/** 008 * Helper functions for {@link Invoice} class. 009 */ 010public final class Invoices { 011 012 /** 013 * Clones deeply given {@link Invoice} 014 * @param invoice 015 * @return 016 */ 017 public static Invoice clone(final Invoice invoice) { 018 return SerializationUtils.clone(invoice); 019 } 020}