java interface copy constructor