try to use Kryo.copy() with fallback to serialization copy