ENYO-485: Add HoldSample, protect against unwanted mutations

Adding a first rough cut at a sample for testing hold behavior.

Cloning the config's events array before modifying it, to avoid
handle the case where someone has passed us a config that they are
keeping a reference to.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)