function [OK, serError, serWarnings] = remoteClear(arrayHolder)
% Clear a collection of keys from the value store.
% Serialize any errors or warnings

% Copyright 2008-2020 The MathWorks, Inc.

[OK, err, warnings] = spmdlang.remoteClearPlain(arrayHolder.array());

serError = parallel.internal.pool.serialize(err);
serWarnings = parallel.internal.pool.serialize(warnings);
end
