DDF-242 Cloned arrays to prevent modifications to internal store and modified to use slf4j syntax

Yeah I reverted a commit due to formatting and forgot to redo some of the log statements. Good catches. Also added a simple unit test that fails without adding the clone() calls.